<template>
  <div class="_container">
    <el-card shadow="hover">
      echarts 示例
      <div id="chart1"></div>
    </el-card>
  </div>
</template>
<script>
export default {
  data: function() {
    return {};
  },
  created: function() {
    console.info("this is charts.vue");
  },
  mounted: function() {
    this.$chart.line1("chart1");
  }
};
</script>
<style scoped>
#chart1 {
  width: 100%;
  height: 300px;
}
</style>
